package week05.q2.beans;

import org.springframework.stereotype.Component;

/**
 * @author lv
 * @date 2021/4/15 21:41
 */
@Component("user2")
public class User {
    private int id;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
